package com.amazon.shop.service;

import com.amazon.shop.bean.dto.LoginFrom;
import com.amazon.shop.bean.vo.Ret;
import com.amazon.shop.bean.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzj
 * @since 2021-02-26
 */
public interface IUserService extends IService<User> {

    Ret login(LoginFrom loginFrom,HttpServletRequest request, HttpServletResponse response);
    Ret logOut(String username,HttpServletRequest request, HttpServletResponse response);

    List<Integer> listStoreidByUserid(String operatorUserid);
}
